﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>

    <script src="js/jquery-1.4.2.min.js" type="text/javascript"></script>

    <script src="js/jquery-pager-1.0.js" type="text/javascript"></script>

    <link href="js/pager.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
        $(document).ready(function() {
            //加载页数及页码
            InitPager(200, 1);

        });
        function InitPager(RecordCount, PageIndex) {
            $("#test").setPager({ RecordCount: RecordCount, PageIndex: PageIndex, buttonClick: PageClick });
            //$("#result").html("您点击的是第" + PageIndex + "页");
        };
        PageClick = function(RecordCount, PageIndex) {
            InitPager(RecordCount, PageIndex);
        };
        
    </script>

</head>
<body>
    <br />
    <br />
    <div id="result">
    </div>
    <div id="test" class="pageinfo">
    </div>
</body>
</html>
